sudo apt install shadowsocks
#rm -rf .tmp/shadowsocks
#git clone git@gitee.com:zzqq2199/shadowsocks.git .tmp/shadowsocks

#genpac -p "SOCKS5 127.0.0.1:1080" --gfwlist-proxy="SOCKS5 127.0.0.1:1080" --gfwlist-url=https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt --output="autoproxy.pac"
#ssloal -c .tmp/shadowsocks/linux-ss-config.json

#sudo chmod 766 /etc/rc.loca
#echo "sudo sslocal -c"$(pwd)"/file/linux-ss-config.json" >> /etc/rc.loca
#sudo chmod 755 /etc/rc.local

#set proxy::method = automatic
#set proxy::Configuration URL = file:///home/togo/path/to/autoproxy.pac


sh ssserviceGenerate.sh
sudo cp shadowsocks.service /etc/systemd/system/
sudo systemctl enable /etc/systemd/system/shadowsocks.service
